package net.aop.dao.impl;

import net.aop.dao.CartDao;
import net.zjitc.pojo.User;
import org.springframework.stereotype.Component;

@Component("cartDaoImplOne")
public class CartDaoImplOne implements CartDao {
    @Override
    public int insert(User user) {
        System.out.println("one......insert");
        return 0;
    }

    @Override
    public void update(int i) {
        System.out.println("one.......update");
    }
}
